package cn.alibab.inspect.controller;


import cn.alibab.common.model.PageBean;
import cn.alibab.common.model.R;
import cn.alibab.inspect.service.ReportService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author LHW
 * @create 2020-07-16 23:00
 */
@RestController
@RequestMapping("sys/report")
public class ReportController {
    private final ReportService reportService;

    public ReportController(ReportService reportService) {
        this.reportService = reportService;
    }
    @GetMapping
    public R selRep(Integer id , PageBean pageBean){
        return reportService.selRep(id,pageBean);
    }


}
